TextView: Be const-correct when passing a pointer
authorDaniel Boles <dboles@src.gnome.org>
Mon, 27 Mar 2017 18:14:38 +0000 (19:14 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Mon, 27 Mar 2017 18:14:38 +0000 (19:14 +0100)
commitb00b7c3b0e852f1027875cd40aba8b406700dbac
tree34e5f95482e454c58fdfb78fde2fdc4070feb4c0
parentc78f6c804ee12a3064c74717f8d20df1bf666d18
TextView: Be const-correct when passing a pointer

The TextIter is passed by pointer for efficiency. We neither need to
modify it, nor should we leave it possible to accidentally do so. So,
it should be passed as a pointer-to-const.
gtk/gtktextview.c